package main

import (
	"fmt"
	"runtime"
)

func main() {
	//var (
	//	name    string
	//	age     int
	//	married bool
	//)
	//fmt.Scan(&name, &age, &married)
	//fmt.Printf("扫描结果 name:%s age:%d married:%t \n", name, age, married)

	//var (
	//	name    string
	//	age     int
	//	married bool
	//)
	//fmt.Scanf("1:%s 2:%d 3:%t", &name, &age, &married)
	//fmt.Printf("扫描结果 name:%s age:%d married:%t \n", name, age, married)
	//select {}

	cpu := runtime.NumCPU()
	goroutine := runtime.NumGoroutine()
	call := runtime.NumCgoCall()
	fmt.Printf("cpu: %d, goroutine: %d\n", cpu, goroutine)
	fmt.Printf("call: %d\n", call)
}
